﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="Shared.xaml" />
    </ResourceDictionary.MergedDictionaries>

    <DataTemplate x:Name="SnapTemplate">
        <Grid Width="320" Background="{StaticResource SecondaryBrush}">
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
            </Grid.ColumnDefinitions>
            <StackPanel Margin="5" VerticalAlignment="Center" HorizontalAlignment="Left">
                <TextBlock MaxWidth="250"
                           Foreground="{StaticResource SecondaryContrastBrush}"
                           TextTrimming="WordEllipsis"
                           TextWrapping="Wrap">
                    <Run FontFamily="Global User Interface"
                         FontSize="15"
                         Text="{Binding Date,
                                        Converter={StaticResource DateStringConverter},
                                        ConverterParameter='ddd. MMM d'}" />
                    <LineBreak />
                    <Run FontSize="20" Text="{Binding Title}" />
                </TextBlock>
            </StackPanel>
        </Grid>
    </DataTemplate>

</ResourceDictionary>
